<?php
/**
 * Created by : PhpStorm
 * User: DuFei
 * Date: 2020/7/31
 * Time: 14:10
 */

namespace app\models\request;

use yii\base\Model;

class ReqRoleUpdate extends Model
{
    private $roleName;
    private $roleId;
    private $menuIdList;
    private $createUserId;

    public function rules()
    {
        return [
            [['roleName', 'menuIdList'], 'required'],
            [['roleId','createUserId'], 'safe'],

        ];
    }

    /**
     * @return mixed
     */
    public function getRoleName()
    {
        return $this->roleName;
    }

    /**
     * @param mixed $roleName
     */
    public function setRoleName($roleName)
    {
        $this->roleName = $roleName;
    }

    /**
     * @return mixed
     */
    public function getRoleId()
    {
        return $this->roleId;
    }

    /**
     * @param mixed $roleId
     */
    public function setRoleId($roleId)
    {
        $this->roleId = $roleId;
    }

    /**
     * @return mixed
     */
    public function getMenuIdList()
    {
        return $this->menuIdList;
    }

    /**
     * @param mixed $menuIdList
     */
    public function setMenuIdList($menuIdList)
    {
        $this->menuIdList = $menuIdList;
    }

    /**
     * @return mixed
     */
    public function getCreateUserId()
    {
        return $this->createUserId;
    }

    /**
     * @param mixed $createUserId
     */
    public function setCreateUserId($createUserId)
    {
        $this->createUserId = $createUserId;
    }


}
